package com.hanj.myserver.entity;

/**
 * 京东用户信息
 *
 * @author hanj.cn @outlook.com
 */
public class JdUser {

    private String nickname;
    private String cookie;
    private String wxPusherId;

    @Override
    public String toString() {

        return "[" + nickname + "]" + "\n" + cookie + "\n" + wxPusherId;
    }

    /**
     * Gets nickname.
     *
     * @return the nickname
     */
    public String getNickname() {

        return nickname;
    }

    /**
     * Sets nickname.
     *
     * @param nickname the nickname
     */
    public void setNickname(String nickname) {

        this.nickname = nickname;
    }

    /**
     * Gets cookie.
     *
     * @return the cookie
     */
    public String getCookie() {

        return cookie;
    }

    /**
     * Sets cookie.
     *
     * @param cookie the cookie
     */
    public void setCookie(String cookie) {

        this.cookie = cookie;
    }

    /**
     * Gets wx pusher id.
     *
     * @return the wx pusher id
     */
    public String getWxPusherId() {

        return wxPusherId;
    }

    /**
     * Sets wx pusher id.
     *
     * @param wxPusherId the wx pusher id
     */
    public void setWxPusherId(String wxPusherId) {

        this.wxPusherId = wxPusherId;
    }

    /**
     * Instantiates a new Jd user.
     */
    public JdUser() {

    }

    /**
     * Instantiates a new Jd user.
     *
     * @param nickname   the nickname
     * @param cookie     the cookie
     * @param wxPusherId the wx pusher id
     */
    public JdUser(String nickname, String cookie, String wxPusherId) {

        this.nickname = nickname;
        this.cookie = cookie;
        this.wxPusherId = wxPusherId;
    }

}
